package cn.com.git.admin.dao;

import cn.com.git.admin.dao.model.SysOperateLog;
import cn.com.git.admin.service.query.SysOperateLogListQuery;

import java.util.List;

/**
  * SysOperateLogDAO接口
  * @author zhangzhenfu
  * @Description
  * @date 2020/5/8
*/
public interface SysOperateLogDAO {

    SysOperateLog selectById(Integer id);

    SysOperateLog selectOne(SysOperateLogListQuery query);

    int countLimit(SysOperateLogListQuery query);

    List<SysOperateLog> selectList(SysOperateLogListQuery query);

    Integer insertOne(SysOperateLog record);

    List<SysOperateLog> insertList(List<SysOperateLog> list);

    Integer updateOne(SysOperateLog record);

    Integer updateLimit(SysOperateLog record, SysOperateLogListQuery query);

    Integer deleteOne(Integer id);

    Integer deleteLimit(SysOperateLogListQuery query);
}